package com.tangly.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * date: 2018/5/16 16:57 <br/>
 *
 * @author Administrator
 * @since JDK 1.7
 */
@Data
@ApiModel(description = "登录成功的返回包")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppLoginVO {

    @ApiModelProperty(value = "秘钥", example = "123456789987654321abcdefg")
    String token;

    @ApiModelProperty(value = "刷新密钥", example = "abcdefg123456789987654321")
    String refreshToken;

    @ApiModelProperty(value = "上次登录时间", example = "2018年9月9日 8:30:00")
    String lastLoginTime;

    @ApiModelProperty(value = "上次登录地点", example = "福州")
    String lastLoginPlace;

    @ApiModelProperty(value = "token有效时间截止", example = "2018年9月9日 9:30:00")
    String expireTime;

}
